<?php
namespace Hr\OnlineBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;

class UserPasswordType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {

        $builder->add('oldPassword', 'password');
        $builder->add('password', 'password');
        $builder->add('repeatPassword', 'password');

    }

    public function getName()
    {
        return 'user';
    }
}